<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <title>简易留言板</title>
    <base href="<%=basePath%>">
    
    <title>My JSP 'register.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body> 
    <form action="registerServlet" method="post">
			<table border="1" bgcolor="#00ff00" align="center" width="274"
				height="165">
				<tbody>
					<tr>
						<td colspan="2" align="center">
							&nbsp;用户登陆
						</td>
					</tr>
					<tr>
						<td>
							&nbsp;登录名：
						</td>
						<td>
							&nbsp;
							<input type="text" size="20" name="username">
						</td>
					</tr>
					<tr>
						<td>
							&nbsp;密码：
							<br>
						</td>
						<td>
							&nbsp;
							<input type="password" maxlength="" name="pwd" size="21">
						</td>
					</tr>
					<tr>
						<td>
							&nbsp;
							<input type="submit" value="注册">
						</td>
						<td>
							&nbsp;
							<input type="reset" value="重置">
						</td>
					</tr>
				</tbody>
			</table>
		</form>
  </body>
</html>
